package com.zueb.mapper;

import com.zueb.pojo.Vaccination;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VaccinationMapper {

    int addVaccination(Vaccination vaccination);

    List<Vaccination> showVaccination(String identification);

    List<Vaccination> showAllVaccinationByPage(@Param("index") Integer index,
                                               @Param("pageSize") Integer pageSize,
                                               @Param("facultyId") Integer facultyId,
                                               @Param("classId") Integer classId);

    int showAllVaccinationCount(@Param("facultyId") Integer facultyId,
                                @Param("classId") Integer classId);
}
